﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<upcdew_20111_group2b.CapaDominio.Residente>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Residente</h2>

    <h3>¿Seguro de eliminar este residente?</h3>    
    <fieldset>
        <legend>Campos</legend>
        
        <div class="display-label">CodResidente</div>
        <div class="display-field"><%: Model.CodResidente %></div>
        
        <div class="display-label">Nom_Residente</div>
        <div class="display-field"><%: Model.Nom_Residente %></div>
        
        <div class="display-label">Fec_Nacimiento</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.Fec_Nacimiento) %></div>
        
        <div class="display-label">Tex_Correo</div>
        <div class="display-field"><%: Model.Tex_Correo %></div>
        
        <div class="display-label">Tex_Clave</div>
        <div class="display-field"><%: Model.Tex_Clave %></div>
        
        <div class="display-label">Tex_Dni</div>
        <div class="display-field"><%: Model.Tex_Dni %></div>
        
        <div class="display-label">Tex_Tipo_Residente</div>
        <div class="display-field"><%: Model.Tex_Tipo_Residente %></div>
        
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Eliminar" /> |
		    <%: Html.ActionLink("Regresar a la lista", "Index") %>
        </p>
    <% } %>

</asp:Content>

